int pot =A3; int value; String val; void setup() { // put your setup code here, to run once: pinMode(pot, INPUT); Serial.begin(9600); } void loop() { //Serial.println("hello world"); // put your main code here, to run repeatedly: value = analogRead(pot); val=value; Serial.println(val); }